package com.unknowpupil.web.service;

import com.unknowpupil.web.base.BaseCrudService;
import com.unknowpupil.web.domain.Transaction;
import com.unknowpupil.web.mapper.TransactionMapper;

import java.math.BigInteger;

/**
 * @Classname: ${NAME}
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2019/11/6 14:55
 * @Description:
 * @Version: 1.0
 */
public interface ITransactionService extends BaseCrudService<Transaction> {
        /**
         * 封装交易记录
         * @param send
         * @param get
         * @param tx
         * @param block
         * @param balance
         * @param currency
         * @param nonce
         * @return
         */
    Transaction createTransaction(String send, String get, String tx, Long block, double balance, String currency,BigInteger nonce);

    }
